#include  "stdio.h"
#define N 10

int  main() {

	int x[N],i,s=0;
	printf("please  input %d intergers:\n",N);
	for(i=0; i<N; i++) {
		scanf("%d", &x[i]);
		s=s+x[i];
	}
	printf("Total=%d\n",s);
	printf("Average=%.2f\n",s*1.0/N);
}
